package org.remembrance.scheduling02.service;

import org.remembrance.scheduling02.model.EmailAddress;
import org.remembrance.scheduling02.model.ErrorMessage;

import javax.mail.MessagingException;

/**
 * @author remembrance
 * @version 1.0
 * @date 2022/2/16 13:44
 */
public interface SendEmailService {
    //发送邮件
    void sendEmails(EmailAddress emailAddress, ErrorMessage errorMessage) throws MessagingException;


}
